package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 志愿者对象 ic_volunteers
 * 
 * @author ruoyi
 * @date 2024-07-10
 */
public class IcVolunteers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long volunteerId;

    /** 志愿者姓名 */
    @Excel(name = "志愿者姓名")
    private String volunteerName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 加入志愿者日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "加入志愿者日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinVolunteerDate;

    /** 所属组织ID */
    @Excel(name = "所属组织ID")
    private Long orgId;

    /** 服务时长 */
    @Excel(name = "服务时长")
    private Long serviceHours;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setVolunteerId(Long volunteerId) 
    {
        this.volunteerId = volunteerId;
    }

    public Long getVolunteerId() 
    {
        return volunteerId;
    }

    public void setVolunteerName(String volunteerName) 
    {
        this.volunteerName = volunteerName;
    }

    public String getVolunteerName() 
    {
        return volunteerName;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public void setJoinVolunteerDate(Date joinVolunteerDate) 
    {
        this.joinVolunteerDate = joinVolunteerDate;
    }

    public Date getJoinVolunteerDate() 
    {
        return joinVolunteerDate;
    }

    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }

    public void setServiceHours(Long serviceHours) 
    {
        this.serviceHours = serviceHours;
    }

    public Long getServiceHours() 
    {
        return serviceHours;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("volunteerId", getVolunteerId())
            .append("volunteerName", getVolunteerName())
            .append("idNumber", getIdNumber())
            .append("gender", getGender())
            .append("birthday", getBirthday())
            .append("joinVolunteerDate", getJoinVolunteerDate())
            .append("orgId", getOrgId())
            .append("serviceHours", getServiceHours())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
